#ifndef MBAPPWIG_H
#define MBAPPWIG_H

#include <QWidget>
#include"history.h"
namespace Ui {
class MbappWig;
}

class MbappWig : public QWidget
{
    Q_OBJECT

public:
    explicit MbappWig(QWidget *parent = 0);
    ~MbappWig();

private:
    Ui::MbappWig *ui;
    History *dialog=NULL;
    int flag1_kongtiao=1;
    int flag2_door=1;
    int door=1;
    int air=0;

public slots:
    void showDialog();
    void stmdataUpSlot(QByteArray);
    void dataDownSlot();
signals:
    void dataUpSignal(const QByteArray &);//更新信号
    void newdataup(const QByteArray &);//新的更新槽函数



};

#endif // MBAPPWIG_H
